package book_mianshizhinan.test1_6;

public class HanoiProblem2 {
	
	public void move(int L,int M,int R){
		move(L-1,M,R);
		System.out.println("move"+L+"from left to mid");
		move(R,M,L-1);
		System.out.println("move"+L+"from mid to right");
		move(L-1,M,R);
	}

}
